<html>
<head>
<link href="<?php echo $this->_var['siteinfo']['tempdir']; ?>images/index.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script src="inc/js/jquery.js" type="text/javascript"></script>
<script src="inc/js/jquery-chekform.js" type="text/javascript"></script>
<script language="javascript">
$(function(){

//提交验证部分
$("#sub").chkform([
{"name":$("#fm_title"),"where":$("#errmsg"),"value":"<div class='errbox'><span class='nwring'></span><span>站点题目不能为空！</span></div>","type":"chkblank"},
{"name":$("#fm_url"),"where":$("#errmsg"),"value":"<div class='errbox'><span class='nwring'></span><span>站点网址不能为空！</span></div>","type":"chkblank"}
]);

})
</script>
</head>

<body>
<form name="form1" method="post" action="" enctype="multipart/form-data">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
 <td width="100%" class="list black" colspan="2">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td width="86%" align="center" class="black">信息设置</td>
				<td width="14%"><a href="javascript:history.go(-1)"><img
					src="<?php echo $this->_var['siteinfo']['tempdir']; ?>images/list_add3.gif" width="84"
					height="26"
					onMouseOver="this.src='<?php echo $this->_var['siteinfo']['tempdir']; ?>images/list_add4.gif'"
					onMouseOut="this.src='<?php echo $this->_var['siteinfo']['tempdir']; ?>images/list_add3.gif'"
					border="0" /></a></td>
			</tr>
		</table>
		</td>
	</tr>
	<tr>
      <td class="list-add1 pl8" colspan="2" style="display:none" id="errmsg">

	  </td>
    </tr>
	<tr>
		<td height="40" align="right" class="list-add1">名称：</td>
		<td class="list-add1 pl8"><input name="fm_title" type="text"
			size="50"  value="<?php echo $this->_var['systeminfo']['title']; ?>" id="fm_title"/></td>
	</tr>
	
	<tr>
		<td height="40" align="right" class="list-add1">首页类型：</td>
		<td class="list-add1 pl8">
        <?php echo $this->html_select(array('options'=>$this->_var['modlist'],'selected'=>$this->_var['systeminfo']['mods'],'name'=>'fm_mods','id'=>'fm_mods')); ?>
       </td>
	</tr>
	
	<tr>
		<td height="40" align="right" class="list-add1">编辑器：</td>
		<td class="list-add1 pl8">
        <?php echo $this->html_select(array('options'=>$this->_var['editorlist'],'selected'=>$this->_var['systeminfo']['editor'],'name'=>'fm_editor','id'=>'fm_editor')); ?>
       </td>
	</tr>
	
	<tr>
		<td height="40" align="right" class="list-add1">语言：</td>
		<td class="list-add1 pl8">
        <?php echo $this->html_select(array('options'=>$this->_var['langlist'],'selected'=>$this->_var['systeminfo']['lang'],'name'=>'fm_lang','id'=>'fm_lang')); ?>
       </td>
	</tr>


	<tr>
		<td height="40" align="right" class="list-add1">logo：</td>
		<td class="list-add1 pl8"><?php echo $this->_var['fm_logo']; ?></td>
		
	</tr>
	
	
	<tr>
		<td height="40" align="right" class="list-add1">网址：</td>
		<td class="list-add1 pl8"><input name="fm_url" type="text" size="50" value="<?php echo $this->_var['systeminfo']['url']; ?>" id="fm_url" /></td>
	</tr>

	<tr>
		<td height="40" align="right" class="list-add1">ICP：</td>
		<td class="list-add1 pl8"><input name="fm_icp" type="text" size="50" value="<?php echo $this->_var['systeminfo']['icp']; ?>" id="fm_icp" /></td>
	</tr>

	<tr>
		<td height="40" align="right" class="list-add1">关键字：</td>
		<td class="list-add1 pl8"><input name="fm_keywords" type="text"
			size="50"  value="<?php echo $this->_var['systeminfo']['keywords']; ?>" id="fm_keywords" /></td>
	</tr>



	<tr>
		<td height="40" align="right" class="list-add1">描述：</td>
		<td class="list-add1 pl8">  
	
		<textarea cols="60" rows="5" name='fm_discretion' id="fm_discretion"><?php echo $this->_var['systeminfo']['discretion']; ?></textarea>

	</td>
	</tr>
	

	
	
	<tr>
   <td align="center" class="list-add1" colspan="2" style="padding:20px">
	<!--  <input type="image"
			name="imageField" src="<?php echo $this->_var['siteinfo']['tempdir']; ?>images/list_add1.gif"
			onMouseOver="this.src='<?php echo $this->_var['siteinfo']['tempdir']; ?>images/list_add2.gif'"
			onMouseOut="this.src='<?php echo $this->_var['siteinfo']['tempdir']; ?>images/list_add1.gif'"  id="sub"/>
			-->
			<input type="submit" value="提&nbsp;&nbsp;交&nbsp;&nbsp;信&nbsp;&nbsp;息" name="sub" id="sub"  >		
			<input type="hidden" name="action" value="baseupdate" />
			</td>
	</tr>
</table>
</form>

<table width="102%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td>&nbsp;</td>
	</tr>
</table>

</body>
</html>
